package com.maycur.ctrip.domain;

import com.maycur.ctrip.enumeration.TrainOrderAuditStatus;
import com.maycur.ctrip.enumeration.TrainOrderStatus;
import org.apache.commons.lang3.StringUtils;

import java.math.BigDecimal;
import java.util.Date;

public class TrainOrder {
    private Integer id;

    private String orderId;

    private String journeyNo;

    private String entCode;

    private String uId;

    private String eId;

    private String eName;

    private BigDecimal consumeAmount;

    private String consumeCcy;

    private TrainOrderStatus orderStatus;

    private String orderStatusDesc;

    private TrainOrderAuditStatus auditedStatus;

    private String auditedStatusDesc;

    private BigDecimal originalAmount;

    private Integer ticketQuantity;

    private BigDecimal postAmount;

    private BigDecimal paperTicketAmount;

    private BigDecimal serviceAmount;

    private BigDecimal refundAmount;

    private String refundTicketStatus;

    private Integer ticketType;

    private String ticketTypeDesc;

    private String orderType;

    private String orderTypeDesc;

    private String remark;

    private String payType;

    private Date orderedAt;

    private Boolean requestInvoice;

    private Boolean requestInsuranceInvoice;

    private String contactName;

    private String contactEmail;

    private String contactPhone;

    private Boolean isSyncedToFee;

    private Date createdAt;

    private Date updatedAt;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = StringUtils.isEmpty(orderId)? null : orderId.trim();
    }

    public String getJourneyNo() {
        return journeyNo;
    }

    public void setJourneyNo(String journeyNo) {
        this.journeyNo = StringUtils.isEmpty(journeyNo)? null : journeyNo.trim();
    }

    public String getEntCode() {
        return entCode;
    }

    public void setEntCode(String entCode) {
        this.entCode = StringUtils.isEmpty(entCode)? null : entCode.trim();
    }

    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = StringUtils.isEmpty(uId)? null : uId.trim();
    }

    public String geteId() {
        return eId;
    }

    public void seteId(String eId) {
        this.eId = StringUtils.isEmpty(eId)? null : eId.trim();
    }

    public String geteName() {
        return eName;
    }

    public void seteName(String eName) {
        this.eName = StringUtils.isEmpty(eName)? null : eName.trim();
    }

    public BigDecimal getConsumeAmount() {
        return consumeAmount;
    }

    public void setConsumeAmount(BigDecimal consumeAmount) {
        this.consumeAmount = consumeAmount;
    }

    public String getConsumeCcy() {
        return consumeCcy;
    }

    public void setConsumeCcy(String consumeCcy) {
        this.consumeCcy = StringUtils.isEmpty(consumeCcy)? null : consumeCcy.trim();
    }

    public TrainOrderStatus getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(TrainOrderStatus orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatusDesc() {
        return orderStatusDesc;
    }

    public void setOrderStatusDesc(String orderStatusDesc) {
        this.orderStatusDesc = StringUtils.isEmpty(orderStatusDesc)? null : orderStatusDesc.trim();
    }

    public TrainOrderAuditStatus getAuditedStatus() {
        return auditedStatus;
    }

    public void setAuditedStatus(TrainOrderAuditStatus auditedStatus) {
        this.auditedStatus = auditedStatus;
    }

    public String getAuditedStatusDesc() {
        return auditedStatusDesc;
    }

    public void setAuditedStatusDesc(String auditedStatusDesc) {
        this.auditedStatusDesc = StringUtils.isEmpty(auditedStatusDesc)? null : auditedStatusDesc.trim();
    }

    public BigDecimal getOriginalAmount() {
        return originalAmount;
    }

    public void setOriginalAmount(BigDecimal originalAmount) {
        this.originalAmount = originalAmount;
    }

    public Integer getTicketQuantity() {
        return ticketQuantity;
    }

    public void setTicketQuantity(Integer ticketQuantity) {
        this.ticketQuantity = ticketQuantity;
    }

    public BigDecimal getPostAmount() {
        return postAmount;
    }

    public void setPostAmount(BigDecimal postAmount) {
        this.postAmount = postAmount;
    }

    public BigDecimal getPaperTicketAmount() {
        return paperTicketAmount;
    }

    public void setPaperTicketAmount(BigDecimal paperTicketAmount) {
        this.paperTicketAmount = paperTicketAmount;
    }

    public BigDecimal getServiceAmount() {
        return serviceAmount;
    }

    public void setServiceAmount(BigDecimal serviceAmount) {
        this.serviceAmount = serviceAmount;
    }

    public BigDecimal getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(BigDecimal refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getRefundTicketStatus() {
        return refundTicketStatus;
    }

    public void setRefundTicketStatus(String refundTicketStatus) {
        this.refundTicketStatus = StringUtils.isEmpty(refundTicketStatus)? null : refundTicketStatus.trim();
    }

    public Integer getTicketType() {
        return ticketType;
    }

    public void setTicketType(Integer ticketType) {
        this.ticketType = ticketType;
    }

    public String getTicketTypeDesc() {
        return ticketTypeDesc;
    }

    public void setTicketTypeDesc(String ticketTypeDesc) {
        this.ticketTypeDesc = StringUtils.isEmpty(ticketTypeDesc)? null : ticketTypeDesc.trim();
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = StringUtils.isEmpty(orderType)? null : orderType.trim();
    }

    public String getOrderTypeDesc() {
        return orderTypeDesc;
    }

    public void setOrderTypeDesc(String orderTypeDesc) {
        this.orderTypeDesc = StringUtils.isEmpty(orderTypeDesc)? null : orderTypeDesc.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = StringUtils.isEmpty(remark)? null : remark.trim();
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = StringUtils.isEmpty(payType)? null : payType.trim();
    }

    public Date getOrderedAt() {
        return orderedAt;
    }

    public void setOrderedAt(Date orderedAt) {
        this.orderedAt = orderedAt;
    }

    public Boolean getRequestInvoice() {
        return requestInvoice;
    }

    public void setRequestInvoice(Boolean requestInvoice) {
        this.requestInvoice = requestInvoice;
    }

    public Boolean getRequestInsuranceInvoice() {
        return requestInsuranceInvoice;
    }

    public void setRequestInsuranceInvoice(Boolean requestInsuranceInvoice) {
        this.requestInsuranceInvoice = requestInsuranceInvoice;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = StringUtils.isEmpty(contactName)? null : contactName.trim();
    }

    public String getContactEmail() {
        return contactEmail;
    }

    public void setContactEmail(String contactEmail) {
        this.contactEmail = StringUtils.isEmpty(contactEmail)? null : contactEmail.trim();
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = StringUtils.isEmpty(contactPhone)? null : contactPhone.trim();
    }

    public Boolean getSyncedToFee() {
        return isSyncedToFee;
    }

    public void setSyncedToFee(Boolean syncedToFee) {
        isSyncedToFee = syncedToFee;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}
